public class demo006 {
    public static void main(String[] args){
        int a=1;
        for (int i = 0; i < 9; i++) {
        a=(a+1)*2;
            System.out.println(a);
        }
    }
}

